package com.leha.mp.core.entity.templateMsg;

import lombok.Data;

@Data
public class ConsultingAcceptedMsg{
    private String templateId = "IHi-YiuQQ02tJfv-Q7oemzckIrMcAF_eS1ZL6ooqh6A";
    private String appid = "wx14f319c8964de262";
    private String apppath = "pages/loginOne/loginOne";
    private String first = "您好，您已预约成功，预约信息如下：\n";
    private String keyword1="";
    private String keyword2="";
    private String keyword3="";
    private String remark = "\n请在预约时间内保持电话畅通，点击详情查看订单。";
    public static ConsultingAcceptedMsg msgBuilder(String name, String stime, String orderNo) {
        ConsultingAcceptedMsg reviewResultMsg = new ConsultingAcceptedMsg();
        reviewResultMsg.setTemplateId("EJJHp_5UfncaIhegbMenbelGHBhvmqQeQPYY7aRwnws");
        reviewResultMsg.keyword1=name;
        reviewResultMsg.keyword2=stime;
        reviewResultMsg.keyword3=orderNo;
        return reviewResultMsg;
    }
}
